package com.zr.service;

import com.zr.vo.User;

import java.sql.SQLException;
import java.util.List;

public interface UserService {
    User login(String userId, String password);

    List<User> list(User user);

    int count(User user);

    int remove(String userId) throws SQLException;

    int add(User user) throws SQLException;


    int modify(User user) throws SQLException;
}
